package test;

import org.springframework.beans.factory.annotation.Autowired;

import hello.MyMessageService;

public class MessagePrinter {
	
	@Autowired
	private MyMessageService messageService;
	
	public void printMessage(){
		System.out.println(messageService.getMessage());
	}
}
